package com.smallcr.exception;

import com.smallcr.constant.HttpStatusEnum;

public class RestException extends BaseException {

	private static final long serialVersionUID = -6149517755900898731L;

	public RestException() {
	}

	public RestException(Throwable ex) {
		super(ex);
	}

	public RestException(String message) {
		super(message);
	}

	public RestException(String message, Throwable ex) {
		super(message, ex);
	}

	@Override
	protected HttpStatusEnum getStatus() {
		return HttpStatusEnum.BAD_GATEWAY;
	}

}
